package com.qianyucc.blog.model.enums;

/**
 * @author lijing
 * @e-mail 1413979079@qq.com
 * @date 2020-05-14 22:44
 * @description 评论类型
 */
public enum CommentType {
    /**
     * 二级评论
     */
    SECONDARY("二级评论", 2),
    /**
     * 一级评论
     */
    FIRST_LEVEL("一级评论", 1);

    public String getName() {
        return name;
    }

    public int getFlag() {
        return flag;
    }

    CommentType(String name, int flag) {
        this.name = name;
        this.flag = flag;
    }

    private String name;
    private int flag;
}
